package com.user.domain;


import com.baomidou.mybatisplus.annotation.TableName;
import com.fasterxml.jackson.annotation.JsonFormat;
import lombok.Data;

import java.io.Serializable;
import java.math.BigDecimal;
import java.util.Date;

/**
 * @TableName order
 */
@TableName(value = "`order`")
@Data
public class Order implements Serializable {
    private Integer id;

    private Integer userId;

    private String orderDetail;

    private static final long serialVersionUID = 1L;

    private Integer status;

    private BigDecimal orderMoney;

    private Date createTime;

    private Date updateTime;

    private String userRemarks;

    private String paymentManner;

    private Date paymentTime;
    private Integer seatId;
    @JsonFormat(shape = JsonFormat.Shape.STRING, pattern = "yyyy-MM-dd")
    private Date datePeriod;
    private Integer restaurantId;
    private Integer timePeriod;
    private String tradeNo;
}